<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Global Jobs</title>
        <?php include "inc/scripts.php"; ?>
    </head>
    <body>  
        <div class="main">
            <div class="main_resize">

                <?php include "inc/header.php"; ?>
                <div class="content">
                    <div class="content_bg">
                        <?php include "inc/menu.php"; ?>
                        <div class="mainbar">
                            <div class="article">
                                 <h2><span>Lista de Candidatos</span></h2>
                           
                                  <img src="images/canddatos.png"  />
                                     <br>
                                                  <br>
                                                       
                                                                   
                                <table id="table-3">
                                    <tr>
                                        <th>ID</th>
                                        <th>Nombre</th>
                                        <th>Apellido</th>
                                        <th>Fecha de Nacimiento</th>
                                        <th>Foto</th>
                                        <th>Tel</th>
                                        <th>Mail</th>
                                        <th>Pass</th>
                                        <th>Rubro</th>
                                        <th>Informacion ACademica</th>
                                        <th>Estudio Laboral</th>
                                    </tr>
                                    <?php
                                    foreach ($listado as $candidato) {
                                        ?>
                                        <tr>
                                            <td><?php echo $candidato['codigo'] ?></td>
                                            <td><?php echo $candidato['nombre'] ?></td>
                                            <td><?php echo $candidato['apellido'] ?></td>
                                            <td><?php echo $candidato['fnac'] ?></td>
                                            <td><?php echo $candidato['fotop'] ?></td>
                                            <td><?php echo $candidato['tel'] ?></td>
                                            <td><?php echo $candidato['mail'] ?></td>
                                            <td><?php echo $candidato['contrasena'] ?></td>
                                            <td><?php echo $candidato['rubro'] ?></td>
                                            <td><?php echo $candidato['infoacademica'] ?></td>
                                            <td><?php echo $candidato['explaboral'] ?></td>                    
                                        </tr>
                                        <?php
                                    }
                                    ?>
                                </table>
                                
                            </div>
                        </div>
                        <?php include "inc/sidebar.php"; ?>

                    </div>
                    <?php include "inc/pre-footer.php"; ?>
                </div>
                <?php include "inc/footer.php"; ?>
            </div>
        </div>
    </body>
</html>
